home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 #21 / q21.d81 / t.docs 5 < prev    next >
Encoding:
Text File  |  1990-01-01  |  13.2 KB  |  277 lines

  1.  
  2.  
  3. COMMODORE RVS CODES
  4.  
  5. Commodore ASCII has a number of control codes besides all the so-called
  6. printable characters.  Printable characters are letters, numeric digits,
  7. mathematic operators, punctuation and graphic characters.  The others don't
  8. print, but they control the screen output in various ways, for example by
  9. changing the letter color.  In DISKSERVANT we need to represent these
  10. control characters in a way that won't change the screen output.
  11. DISKSERVANT use reversed letters to represent the control characters.  Many
  12. of them will probably be familiar, as the C128s "quote mode" is a way known
  13. to all BASIC programmers of using RVS characters in strings.  For example,
  14. pressing the HOME key while in quote mode will yield a RVS 's'.  Below you
  15. will find a list of all RVS code letters, along with their ASCII code value
  16. and meaning.
  17.  
  18. RVS codes can also be entered using those DISKSERVANT utilities that require
  19. text input.  By holding down ALT, you can enter the "lowercase" RVS codes.
  20. By holding down ALT and SHIFT simultaneously, you can enter the "uppercase"
  21. RVS codes.  Please use good sense though when entering RVS codes; using them
  22. in a wrong way could mess things up considerably.
  23.  
  24. COMMODORE RVS CODE TABLE,  Lowercase RVS codes:
  25.  
  26. DEC  HEX  RVS code   Function                  Alternative entry
  27.   0   00     @       Null character
  28.   1   01     a        -
  29.   2   02     b       Underline ON (80 col.)
  30.   3   03     c       RUN/STOP key                 ALT/RUN/STOP
  31.   4   04     d        -
  32.   5   05     e       White                        CONTROL/2
  33.   6   06     f        -
  34.   7   07     g       Bell tone
  35.   8   08     h       SHIFT/C= OFF (64 mode)
  36.   9   09     i       Tab (SHIFT/C= ON, 64 mode)   ALT/TAB
  37.  10   0A     j       Line feed                    ALT/LINE FEED
  38.  11   0B     k       SHIFT/C= OFF (128 mode)
  39.  12   0C     l       SHIFT/C= ON (128 mode)
  40.  13   0D     m       RETURN                       ALT/RETURN
  41.  14   0E     n       Switch to lowercase
  42.  15   0F     o       Flash ON (80 col.)
  43.  16   10     p        -
  44.  17   11     q       Cursor down                  ALT/CRSR DOWN
  45.  18   12     r       Reverse ON                   CONTROL/9
  46.  19   13     s       Home                         ALT/HOME
  47.  20   14     t       Delete                       ALT/DEL
  48.  21   15     u        -
  49.  22   16     v        -
  50.  23   17     w        -
  51.  24   18     x        -
  52.  25   19     y        -
  53.  26   1A     z        -
  54.  27   1B     [       ESCAPE*                      ALT/ESC
  55.  28   1C     \       Red                          CONTROL/3
  56.  29   1D     ]       Cursor right                 ALT/CRSR RIGHT
  57.  30   1E     ^       Green                        CONTROL/6
  58.  31   1f     
  59.        Blue                         CONTROL/7
  60.  
  61. * The ASCII character immediately following the code will determine the
  62. actual function.  Please refer to the table "Escape Codes" for a rundown of
  63. the Escape Sequence Codes.
  64.  
  65. COMMODORE RVS CODE TABLE,  Uppercase RVS codes:
  66.  
  67. DEC  HEX  RVS code   Function                Alternative entry
  68. 128   80     {SHIFT-*}
  69. 129   81     A       Orange/dark purple           CBM/1
  70. 130   82     B       Underline off
  71. 131   83     C       SHIFT-RUN/STOP               ALT/SH/RUN/STOP
  72. 132   84     D       HELP                         ALT/HELP
  73. 133   85     E       F1                           ALT/f1
  74. 134   86     F       F3                           ALT/f3
  75. 135   87     G       F5                           ALT/f5
  76. 136   88     H       F7                           ALT/f7
  77. 137   89     I       F2                           ALT/SHIFT/f2
  78. 138   8A     J       F4                           ALT/SHIFT/f4
  79. 139   8B     K       F6                           ALT/SHIFT/f6
  80. 140   8C     L       F8                           ALT/SHIFT/f8
  81. 141   8D     M       SHIFT/RETURN                 ALT/SHIFT/RETURN
  82. 142   8E     N       Switch to uppercase
  83. 143   8f     O       Flash off
  84. 144   90     P       Black                        CONTROL/1
  85. 145   91     Q       Cursor up                    ALT/CRSR UP
  86. 146   92     R       Reverse off
  87. 147   93     S       Clear screen                 ALT/SHIFT/CLR
  88. 148   94     T       Insert                       ALT/SHIFT/INST
  89. 149   95     U       Brown/dark yellow            CBM/2
  90. 150   96     V       Light red                    CBM/3
  91. 151   97     W       Dark gray/dark cyan          CBM/4
  92. 152   98     X       Medium gray                  CBM/5
  93. 153   99     Y       Light green                  CBM/6
  94. 154   9A     Z       Light blue                   CBM/7
  95. 155   9B     {SHIFT-+}       Light gray                   CBM/8
  96. 156   9C     {CBM--}       Purple                       CONTROL/5
  97. 157   9D     {SHIFT--}       Cursor left                  ALT/CRSR LEFT
  98. 158   9E     {CBM-+}       Yellow                       CONTROL/8
  99. 159   9F     {CBM-*}       Cyan                         CONTROL/4
  100.  
  101. ESCAPE CODES:
  102. Whenever you see or use a RVS [, the following ASCII character will
  103. determine the actual function of the Escape Code Sequence.  Please note that
  104. the letters in this table should NOT be entered as a RVS code, but rather as
  105. a normal lowercase letter.  The 128 supports the following codes:
  106.  
  107. DEC  HEX   Letter   Function
  108.  64   40     @      Erase to end of screen window
  109.  65   41     a      Auto-insert ON
  110.  66   42     b      Set window bottom right corner
  111.  67   43     c      Auto-insert OFF
  112.  68   44     d      Delete logical line
  113.  69   45     e      Cursor blink OFF
  114.  70   46     f      Cursor blink ON
  115.  71   47     g      Bell enable
  116.  72   48     h      Bell disable
  117.  73   49     i      Insert blank line
  118.  74   4A     j      Go to start of line
  119.  75   4B     k      Go to end of line
  120.  76   4C     l      Screen scroll ON
  121.  77   4D     m      Screen scroll OFF
  122.  78   4E     n      Reverse OFF (80 col. only)
  123.  79   4F     o      Quote/insert mode OFF (also ESC-ESC)
  124.  80   50     p      Erase from start of line to cursor
  125.  81   51     q      Erase from cursor to end of line
  126.  82   52     r      Reverse ON (80 col. only)
  127.  83   53     s      Block cursor (80 col. only)
  128.  84   54     t      Set top left corner of window
  129.  85   55     u      Underline cursor (80 col. only)
  130.  86   56     v      Scroll up
  131.  87   57     w      Scroll down
  132.  88   58     x      Swap 40/80 display
  133.  89   59     y      Set default tabs, 8 characters spacing
  134.  90   5A     z      Clear all tabs
  135.  
  136.  
  137. * * * HARDWARE PROBLEMS * * *
  138.  
  139. Commodore computer systems has always had bugs and quirks of varying
  140. severity.  Some of the quirks may affect the operation when DISKSERVANT is
  141. in charge of operations.  Several known bugs has been circumvented in the
  142. design of DISKSERVANT, but then there are some that can't be patched over.
  143. Below you'll find a list of the bugs and quirks known by the author that you
  144. may encounter.
  145.  
  146. ALL DISK DRIVES:
  147. When you attempt to exceed the number of files permitted, odd things
  148. sometimes happens.  The problem is worst on the 1571 (and possibly the
  149. 1541).  Space is allocated for the new file while there is no room for the
  150. file name in the directory.  The bug will especially affect the file copier.
  151. If you see the error message "disk full", you should validate the disk to
  152. put things right again.  It should be noted that you won't encounter the
  153. disk full error if the file copier runs out of disk space (not exceeding the
  154. maximum number of files).  A safeguard system prevents that.  So far, I have
  155. not found a way to circumvent the problems that occur when you try to save
  156. too many files.  So for the time being, validate the disk after a disk full
  157. error.
  158.  
  159. 1571 DISK DRIVE:
  160. The bugs apply to the 128D portable (128D with cooling fan and carrying
  161. handle), and the stand-alone 1571.  However, upgrade ROM's has been released
  162. by Commodore to fix all problems.  The Commodore part number of this ROM is
  163. 310654-05.  An even better alternative is JiffyDOS, which further enhances
  164. the performance of your system.
  165.  
  166. Problems that may occur using "old-ROM" 1571's with DISKSERVANT:
  167.  
  168. 1)  Random "device not present" errors.  DISKSERVANT may give up and make a
  169. bell tone on the Main Menu or aborting by displaying "I/O error".
  170. 2)  File corruption.  When a file use blocks on both sides of the disk, it
  171. will sometimes get corrupted.  Affects the File Copier.
  172. 3)  The drive can't burst load "locked" files.  Affects the File Copier.
  173. 4)  Several bugs affect the speed of operations.  The disk drive goes click-
  174. click-click for a very long time trying to recognize some disks, and the
  175. drive is very slow at writing data to the back side of the disk.
  176.  
  177. A public domain program exist named "1571.diag" which will check your drive
  178. to establish which type of ROM it contains.
  179.  
  180. 1581 DISK DRIVE:
  181. Three faults are known to the author:
  182. 1)  On rare occasions, a disk may become severely corrupted.  This is due to
  183. the WD1770-00 disk controller chip used in the original 1581s.  This
  184. controller was later replaced by a WD1772-00 chip which solved that problem.
  185. It is not easy to replace the chip if you have the "wrong" one, because it
  186. is soldered in place.  If you change chips, you may also short jumper J1
  187. with a 47 ohm resistor.  Although this is not essential, it will allow the
  188. drive to use the 6 ms step rate.
  189. 2)  When creating a sub-sub directory (one subdirectory inside another
  190. subdirectory), the parent directory would sometimes be erased when the sub-
  191. sub directory was supposed to be formatted.  In the design of DISKSERVANT,
  192. an attempt has been made to patch up the problem, but I haven't been able to
  193. verify if it really fixes the problem.
  194. 3)  Some 1581s have a poor solder joint on the PCB.  This joint is on pin 10
  195. on device U10.  It causes occasional "device not present" errors.
  196. DISKSERVANT may give up and make a bell tone on the Main Menu or aborting by
  197. displaying "I/O error".
  198.  
  199. A program exists in the public domain called "1581.diag".  It will identify
  200. the controller chip and the jumper J1, but not the poor solder joint.
  201.  
  202. 1541 FORMATTED DISKS:
  203. Some disks formatted by old 1541s or compatible disk drives seem to
  204. malfunction when read using a 1571 in 1571 mode.  The disk seems to spin
  205. forever.  This also happens with some older C64 commercial programs.  The
  206. drive will recognize the disk if its left alone for a while though, and the
  207. delay may repeat every time the disk is read.  The delay can be eliminated
  208. by switching your 1571 to 1541 mode.
  209.  
  210.  
  211. * * * PROGRAM MODIFICATIONS * * *
  212.  
  213. A provision has been made so that you may modify certain aspects of
  214. DISKSERVANT to meet specific requirements.  To make a modification, first
  215. load DISKSERVANT (in 128 mode), but don't run it.  Second enter the command
  216. BANK 15 and press RETURN.  Third, make your modifications as outlined below.
  217. Fourth, save DISKSERVANT back to disk under a new name or you may save it to
  218. another disk.  Now, your modifications have become a permanent part of your
  219. program.   Always keep a copy of the original program in a safe place,
  220. because if you make an error, you might ruin the program beyond repair.
  221. Having the original program available, you can retrieve it and attempt to
  222. modify it again.
  223.  
  224. The possible modifications are as follows:
  225.  
  226. POKE 7213,printer device number
  227. Change the printer device number used by Print dir.  May be any value
  228. between 4 and 7; the default is 4.
  229.  
  230. POKE 7214,printer secondary address
  231. Change the printer secondary address used by Print dir.  May be any value,
  232. but only certain numbers are useful.   Please refer to your printer or
  233. printer interface manual.  The default is 7, selecting upper/lowercase print
  234. on most printers and interfaces.
  235.  
  236. POKE 7217,lines to print
  237. POKE 7218,lines to skip
  238. These control the length of the page used by Print dir.  Lines to print are
  239. the actual number of lines printed on each page.  Lines to skip are the
  240. number of lines to skip between each page.  The sum of those values should
  241. add up to the total length of the paper.  For example, the default is 56 for
  242. lines to print and 10 for lines to skip.  56 + 10 = 66 and that is the total
  243. length, in lines, of a North American standard sheet of paper.  European
  244. users will probably want to set lines to print to 64 and lines to skip to 8
  245. which adds up to 72, the European standard paper length.
  246.  
  247. POKE 7220,VDC horizontal adjust
  248. When DISKSERVANT is run in 80 column mode, it sets up a 40 column screen
  249. display, similar to the 128's ordinary 40 column display.  However, due to
  250. variations in the 128's 80 column video chip, the display might be off-
  251. center.  The horizontal adjust is provided to correct this.  The default is
  252. 50.  Increasing this value will move the display to the left while
  253. decreasing it moves the display to the right.  Changing it by one notch is
  254. probably enough, that is setting it in the range 49 to 51.
  255.  
  256. POKE 7221,text color ASCII code.
  257. You may change the text color used by DISKSERVANT.  The available color
  258. settings are as follows:
  259.  
  260. 144 = black        (black)          5 = white        (white)
  261.  28 = red          (red)          159 = light cyan   (cyan)
  262. 156 = light purple (purple)        30 = green        (green)
  263.  31 = blue         (blue)         158 = light yellow (yellow)
  264. 129 = dark purple  (orange)       149 = dark yellow  (brown)
  265. 150 = light red    (light red)    151 = dark cyan    (dark gray)
  266. 152 = medium gray  (medium gray)  153 = light green  (light  green)
  267. 154 = light blue   (light blue)   155 = light gray   (light gray)
  268.  
  269. The colors in parenthesis are 40 column (VIC) colors.  Those are not always
  270. the same as 80 column (VDC) colors.  Do not use any other values than the
  271. above or DISKSERVANT might act strangely.  The default is 159, light cyan
  272. (cyan).
  273.  
  274. AJ
  275.  
  276.   ***** End of DISKSERVANT Docs Part 5  --  Press RETURN for Menu *****
  277.